//Nathan Popham
//4003-573-01: Procedural Shading
//Lab 2
//
//Phong vert shader
// does little more than pass information on to the frag shader
// which contains the actual phong implementation

varying vec3 N, V, pos;

void main()
{	
	N = normalize(gl_NormalMatrix * gl_Normal);

    pos = vec3(gl_ModelViewMatrix * gl_Vertex);

    V = -normalize(pos);


	gl_Position = ftransform();		
}
